package com.mininglamp.hbga.util.response;

import java.util.Map;

import com.google.common.collect.Maps;

public class MapResponse<K, V> extends Response {

    private Map<K, V> map = Maps.newHashMap();

    public void setMap(Map<K, V> map) {
        this.map.putAll(map);
    }

    public Map<K, V> getMap() {
        return map;
    }

    public MapResponse<K, V> put(K k, V v) {
        map.put(k, v);
        return this;
    }

}
